package hoodoos.flow;

import com.alibaba.fastjson.annotation.JSONField;
import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@NoArgsConstructor
public class FlowRulesConfig {

  @JSONField(name = "nodes")
  private List<FlowRulesConfigNode> nodeList;

  @JSONField(name = "edges")
  private List<FlowRulesConfigLine> lineList;

  public FlowRulesConfig(List<FlowRulesConfigNode> nodeList,
      List<FlowRulesConfigLine> lineList) {
    this.nodeList = nodeList;
    this.lineList = lineList;
  }
}
